#define _CRT_SECURE_NO_WARNINGS
#include"Heap.h"


void test(int* arr,int sz)
{
	Heap hp;
	HeapInit(&hp, arr, sz);
	HeapPrint(&hp);
	/*HeapPush(&hp, 8);
	HeapPrint(&hp);
	HeapPush(&hp, 88);
	HeapPrint(&hp);
	HeapPush(&hp, 29);
	HeapPrint(&hp);*/

	HeapPop(&hp);
	HeapPrint(&hp);

	
}




int main()
{
	int a[] = { 27,15,19,18,28,34,65,49,25,37 };
	int sz = sizeof(a) / sizeof(a[0]);
	test(a,sz);

	return 0;
}